/* $Header: duart_ui.h,v 2.2 01/10/02 10:30:19 przybyls Exp $ */

/***********************************************************************/
/* INCLUDE FILE NAME:  duart_ui.h                                      */
/* ==================                                                  */
/*                                                                     */
/* Author:  Bob Cook                                                   */
/*                                                                     */
/* COMMENT:  Defines the function prototypes for the DUART user        */
/*           interface functions.                                      */
/*                                                                     */
/***********************************************************************/

#ifndef DUART_UI_H
#define DUART_UI_H

/*****************************/
/*   IFDEFS                  */
/*****************************/


/*****************************/
/*   SYMBOLIC CONSTANTS      */
/*****************************/


/*****************************/
/*   MACROS                  */
/*****************************/


/*****************************/
/*   TYPEDEFS                */
/*****************************/


/*****************************/
/*   FUNCTION PROTOTYPES     */
/*****************************/


UI_ERR          SetHostPortBaudRate(BAUD_RATE_TYPE  baud_rate, BIT8 now);
BAUD_RATE_TYPE  GetHostPortBaudRate(void);
UI_ERR          SetHostPortHandshake(HANDSHAKE_TYPE  handshake, BIT8 now);
HANDSHAKE_TYPE  GetHostPortHandshake(void);
UI_ERR          SetHostPortParity(PARITY_TYPE  parity, BIT8 now);
PARITY_TYPE     GetHostPortParity(void);
UI_ERR          SetHostPortDataBits(DATA_BITS_TYPE  data_bits, BIT8 now);
DATA_BITS_TYPE  GetHostPortDataBits(void);
UI_ERR          SetHostPortStopBits(STOP_BITS_TYPE  stop_bits, BIT8 now);
STOP_BITS_TYPE  GetHostPortStopBits(void);
UI_ERR          SetHostPortTermSeq(TERM_SEQ_TYPE  term_seq, BIT8 now);
TERM_SEQ_TYPE   GetHostPortTermSeq(void);
UI_ERR          SetIPAddress(U_INT32 IP);
U_INT32         GetIPAddress(void);
UI_ERR          SetGatewayAddress(U_INT32 IP);
U_INT32         GetGatewayAddress(void);
UI_ERR          SetSubnetMask(U_INT32 IP);
U_INT32         GetSubnetMask(void);


#endif
